package plataforma.base.cih;


import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zul.Messagebox;


public abstract class EventListenerConfirmaSimNao implements EventListener {
	
	public void onEvent(Event evt) {
		switch (((Integer) evt.getData()).intValue()) {
		case Messagebox.YES:
			onYES(evt);
			break; //the No button is pressed
			
		case Messagebox.NO:
			onNO(evt);
			break; //the No button is pressed
		
		default:
			
				
		}
		
	}
		
		
		public abstract void onNO(Event ev);
		
		
		public abstract void onYES(Event ev);
	
	

}
